package com.ytjj.qmyx.data.mapper;

import com.ytjj.qmyx.mall.model.Orders;
import com.ytjj.qmyx.mall.model.OrdersInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface OrdersDao {

    /**
     * 获取订单明细
     * @param dayStr
     * @return
     */
    List<OrdersInfo> queryOrdersList(@RequestParam("dayStr") String dayStr);
    Orders findOrderByOrderId(@RequestParam("orderId") Integer orderId);

    int updateExpressByChildOrderNo(@Param("childOrderNo") String childOrderNo,
                                    @Param("expressCompanyNo") String expressCompanyNo,
                                    @Param("expressNo") String expressNo);

    List<Orders> getIsPayByTime(String startTime,String endTime);

}
